@charset "UTF-8";
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loader {
    position: fixed;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #348f50, #56b4d3);
}

.loader-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20em;
    height: 20em;
    font-size: 10px;
}
.loader-box .loader-line {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    animation: loaderLineRotate 2s linear infinite;
}
.loader-box .loader-line:nth-child(1) {
    width: 100%;
    height: 100%;
    border-width: 5px 5px 0 0;
    border-color: currentColor transparent transparent currentColor;
    color: #44f5ab;
    animation-direction: normal;
}
.loader-box .loader-line:nth-child(2) {
    width: 70%;
    height: 70%;
    border-width: 5px 2px 0 2px;
    border-color: currentColor currentColor transparent transparent;
    color: #2efdf3;
    animation-direction: reverse;
}
.loader-box .loader-line:nth-child(3) {
    width: 40%;
    height: 40%;
    border-width: 5px 5px 0 0;
    border-color: currentColor currentColor transparent transparent;
    color: #44f5ab;
    animation-direction: normal;
}
.loader-box .loader-line:nth-child(4) {
    width: 20%;
    height: 20%;
    border-width: 3px 0 0 2px;
    border-color: currentColor currentColor transparent transparent;
    color: #2efdf3;
    animation-direction: reverse;
}

.lang {
    position: fixed;
    top: 3%;
    right: 2%;
    z-index: 1000;
    display: flex;
    width: 66px;
    height: 34px;
    overflow: hidden;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    cursor: pointer;
}
.lang .lang-btn {
    position: absolute;
    left: 0;
    width: 34px;
    height: 34px;
    border-radius: inherit;
    background: #fff;
    transition: 0.3s;
}
.lang .lang-btn::before {
    display: block;
    line-height: 34px;
    font-size: 13px;
    text-align: center;
    color: #11927d;
    content: '中';
}
.lang:active {
    background: rgba(0, 0, 0, 0.1);
}
.lang:active .lang-btn {
    width: 44px;
}

.lang-on .lang-btn {
    left: 32px;
}
.lang-on .lang-btn::before {
    content: 'EN';
}

.lang-on:active .lang-btn {
    left: 22px;
    width: 44px;
}

.aside {
    position: fixed;
    right: 2%;
    top: 50%;
    width: 50px;
    height: 240px;
    margin-top: -140px;
}
.aside .aside-item {
    position: relative;
    width: 14px;
    height: 14px;
    margin: auto;
    margin-bottom: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.aside .aside-item:hover {
    background: #fff;
    box-shadow: 0 0 8px 2px #fff;
}
.aside .aside-item:hover p {
    right: 100%;
    opacity: 1;
}
.aside .aside-item::after {
    position: absolute;
    top: 14px;
    left: 6px;
    display: block;
    width: 0;
    height: 25px;
    border-left: 1px dashed #ddd;
    content: '';
}
.aside .aside-item s {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    margin-left: -3px;
    border-radius: inherit;
    background: #22ab39;
    content: '';
}
.aside .aside-item p {
    position: absolute;
    top: 0;
    right: -80px;
    width: 80px;
    height: 24px;
    margin-top: -5px;
    margin-right: 12px;
    background: rgba(0, 0, 0, 0.3);
    line-height: 24px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    opacity: 0;
    transition: 0.7s;
}
.aside .aside-item p::after {
    position: absolute;
    top: 0;
    right: -24px;
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid rgba(0, 0, 0, 0.3);
    content: '';
}
.aside .aside-item-on {
    position: relative;
    background: #fff;
}
.aside .aside-item-on::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    margin-left: -3px;
    border-radius: 50%;
    background: #fff;
    transform-origin: center;
    animation: btnScale 1s ease-out infinite;
}
.aside .aside-item-big {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    margin: auto;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent url('../img/index/aside/arrow.png') no-repeat center;
    transition: transform 0.8s, background 0.5s;
    transform: rotate(0deg);
    cursor: pointer;
}
.aside .aside-item-big:hover {
    background: #fff url('../img/index/aside/arrow-on.png') no-repeat center;
    transform: rotate(360deg);
}

.main {
    position: absolute;
    top: 0;
    width: 100%;
    height: 500%;
    text-align: center;
    transition: 0.8s;
}
.main .main-page {
    position: relative;
    width: 100%;
    height: 20%;
}
.main .main-page:nth-child(1) {
    background: linear-gradient(150deg, #11998e, #38ef7d);
}
.main .main-page:nth-child(2) {
    background: linear-gradient(150deg, #765eef, #6410c6);
}
.main .main-page:nth-child(3) {
    background: linear-gradient(270deg, #ff5f6d, #ffc371);
}
.main .main-page:nth-child(4) {
    background: linear-gradient(150deg, #0cebeb, #20e3b2, #29ffc6);
}
.main .main-page:nth-child(5) {
    background: linear-gradient(150deg, #4cb8c4, #3cd3ad);
}

@keyframes btnScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(7);
    }
}

@keyframes loaderLineRotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes arrowUpDown {
    0% {
        bottom: 7%;
    }
    50% {
        bottom: 12%;
    }
    100% {
        bottom: 7%;
    }
}

@-webkit-keyframes in-top {
    from {
        -webkit-transform: rotate3d(-1, 0, 0, 90deg) perspective(200px);
        transform: rotate3d(-1, 0, 0, 90deg) perspective(200px);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@keyframes in-top {
    from {
        -webkit-transform: rotate3d(-1, 0, 0, 90deg);
        transform: rotate3d(-1, 0, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@-webkit-keyframes in-right {
    from {
        -webkit-transform: rotate3d(0, -1, 0, 90deg);
        transform: rotate3d(0, -1, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@keyframes in-right {
    from {
        -webkit-transform: rotate3d(0, -1, 0, 90deg);
        transform: rotate3d(0, -1, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@-webkit-keyframes in-bottom {
    from {
        -webkit-transform: rotate3d(1, 0, 0, 90deg);
        transform: rotate3d(1, 0, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@keyframes in-bottom {
    from {
        -webkit-transform: rotate3d(1, 0, 0, 90deg);
        transform: rotate3d(1, 0, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@-webkit-keyframes in-left {
    from {
        -webkit-transform: rotate3d(0, 1, 0, 90deg);
        transform: rotate3d(0, 1, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@keyframes in-left {
    from {
        -webkit-transform: rotate3d(0, 1, 0, 90deg);
        transform: rotate3d(0, 1, 0, 90deg);
    }
    to {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

@-webkit-keyframes out-top {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(-1, 0, 0, 101.5deg);
        transform: rotate3d(-1, 0, 0, 101.5deg);
    }
}

@keyframes out-top {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(-1, 0, 0, 101.5deg);
        transform: rotate3d(-1, 0, 0, 101.5deg);
    }
}

@-webkit-keyframes out-right {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(0, -1, 0, 101.5deg);
        transform: rotate3d(0, -1, 0, 101.5deg);
    }
}

@keyframes out-right {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(0, -1, 0, 101.5deg);
        transform: rotate3d(0, -1, 0, 101.5deg);
    }
}

@-webkit-keyframes out-bottom {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(1, 0, 0, 101.5deg);
        transform: rotate3d(1, 0, 0, 101.5deg);
    }
}

@keyframes out-bottom {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(1, 0, 0, 101.5deg);
        transform: rotate3d(1, 0, 0, 101.5deg);
    }
}

@-webkit-keyframes out-left {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(0, 1, 0, 101.5deg);
        transform: rotate3d(0, 1, 0, 101.5deg);
    }
}

@keyframes out-left {
    from {
        -webkit-transform: rotate3d(0, 0, 0, 0deg);
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        -webkit-transform: rotate3d(0, 1, 0, 101.5deg);
        transform: rotate3d(0, 1, 0, 101.5deg);
    }
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.avatar {
    box-sizing: border-box;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.3);
}

.intro-3d {
    position: relative;
    box-sizing: border-box;
    width: 360px;
    height: 120px;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 0.5rem;
    transition: 0.3s ease-out;
}
.intro-3d:hover {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}
.intro-3d:hover .light {
    display: block;
}
.intro-3d .intro-box {
    position: absolute;
    z-index: 100;
    width: 360px;
    height: 120px;
}
.intro-3d .light {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 1px;
    height: 160px;
    margin-top: -80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 130px 80px rgba(255, 255, 255, 0.1);
    transform: rotate(150deg);
}
.intro-3d .intro-name {
    height: 60px;
    padding-left: 4px;
    letter-spacing: 5px;
    line-height: 60px;
    font-size: 32px;
    font-weight: bold;
    color: #004130;
}
.intro-3d .intro-short {
    height: 40px;
    letter-spacing: 2px;
    line-height: 40px;
    font-size: 16px;
    color: #065741;
}

.icon-box {
    display: flex;
    flex-flow: nowrap;
    width: 210px;
    height: 70px;
    margin-top: 20px;
    margin-bottom: 50px;
    border-radius: 70px;
    background: rgba(255, 255, 255, 0.4);
}
.icon-box .icon {
    position: relative;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    fill: #00705e;
    stroke: #00705e;
}
.icon-box .icon a {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    transition: 0.4s;
}
.icon-box .icon a:visited {
    fill: #00705e;
    stroke: #00705e;
}
.icon-box .icon .circle {
    width: 70px;
    height: 70px;
    fill: transparent;
    stroke-dasharray: 200;
    stroke-dashoffset: -200;
}
.icon-box .icon:hover .circle {
    transition: 0.5s;
    stroke-width: 1px;
    stroke-dashoffset: 0;
}
.icon-box .git:hover,
.icon-box .git a:hover {
    fill: #24292e !important;
    stroke: #24292e !important;
}
.icon-box .gitee:hover,
.icon-box .gitee a:hover {
    fill: #ff8140 !important;
    stroke: #ff8140 !important;
}
.icon-box .juejin:hover,
.icon-box .juejin a:hover {
    fill: #333333 !important;
    stroke: #333333 !important;
}

.home-arrow {
    position: absolute;
    bottom: 7%;
    font-size: 24px;
    font-weight: bold;
    color: #00705e;
    animation: arrowUpDown 2s infinite;
    cursor: pointer;
}

.about-me {
    text-align: center;
}

.about-title {
    margin: 55px;
    letter-spacing: 5px;
    font-size: 40px;
    text-shadow: -1px 1px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.about-subtitle {
    width: 680px;
    height: 60px;
    margin: 35px auto;
    border-radius: 0.25rem;
    background: #fff;
    box-shadow: -2px 2px 10px 0px rgba(0, 0, 0, 0.3);
    line-height: 60px;
    font-size: 14px;
    color: #6221db;
}

.about-icon {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    width: 680px;
    height: 340px;
    margin: auto;
}

.about-icon-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    border-radius: 4px;
    background: #fff;
    box-shadow: -2px 2px 10px 0px rgba(0, 0, 0, 0.3);
    -webkit-perspective: 400px;
    perspective: 400px;
}
.about-icon-item .shade {
    position: absolute;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.icon-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    pointer-events: none;
    background: rgba(98, 33, 219, 0.8);
    color: #fff;
    -webkit-transform: rotate3d(1, 0, 0, 90deg);
    transform: rotate3d(1, 0, 0, 90deg);
}

.in-top .icon-info {
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-animation: in-top 270ms ease 0ms 1 forwards;
    animation: in-top 270ms ease 0ms 1 forwards;
}

.in-right .icon-info {
    -webkit-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
    -webkit-animation: in-right 270ms ease 0ms 1 forwards;
    animation: in-right 270ms ease 0ms 1 forwards;
}

.in-bottom .icon-info {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-animation: in-bottom 270ms ease 0ms 1 forwards;
    animation: in-bottom 270ms ease 0ms 1 forwards;
}

.in-left .icon-info {
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-animation: in-left 270ms ease 0ms 1 forwards;
    animation: in-left 270ms ease 0ms 1 forwards;
}

.out-top .icon-info {
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-animation: out-top 270ms ease 0ms 1 forwards;
    animation: out-top 270ms ease 0ms 1 forwards;
}

.out-right .icon-info {
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-animation: out-right 270ms ease 0ms 1 forwards;
    animation: out-right 270ms ease 0ms 1 forwards;
}

.out-bottom .icon-info {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-animation: out-bottom 270ms ease 0ms 1 forwards;
    animation: out-bottom 270ms ease 0ms 1 forwards;
}

.out-left .icon-info {
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-animation: out-left 270ms ease 0ms 1 forwards;
    animation: out-left 270ms ease 0ms 1 forwards;
}

.icon-info .info-title {
    margin-top: 25px;
    font-size: 20px;
    font-weight: bold;
}

.icon-info .info-msg {
    margin-top: 58px;
    letter-spacing: 1.5px;
    font-size: 14px;
}

.skill {
    text-align: center;
}

.skill-title {
    margin: 55px;
    margin-bottom: 65px;
    letter-spacing: 5px;
    font-size: 40px;
    font-weight: bold;
    text-shadow: -1px 1px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.skill-box {
    display: flex;
    flex-flow: wrap;
    margin: auto;
    margin-top: 6%;
    width: 50%;
    height: 480px;
}

.progress-box {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.3333%;
    height: 100px;
}
.progress-box .card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.progress-box .card::after {
    position: absolute;
    top: 0;
    width: 85%;
    height: 36px;
    border-radius: 0.25rem;
    background: linear-gradient(#fff, #f0f0f0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
}
.progress-box .card.html {
    background: linear-gradient(#e96012, #e2470f);
}
.progress-box .card.html::after {
    background: linear-gradient(#e96012, #e2470f);
    content: 'HTML';
}
.progress-box .card.css {
    background: linear-gradient(#29bebe, #2f80ed);
}
.progress-box .card.css::after {
    background: linear-gradient(#29bebe, #2f80ed);
    content: 'CSS';
}
.progress-box .card.js {
    background: linear-gradient(#ffeb0e, #efdd1b);
}
.progress-box .card.js::after {
    background: linear-gradient(#ffeb0e, #efdd1b);
    color: #000;
    content: 'JavaScript';
}
.progress-box .card.js .card-mask {
    color: #000;
}
.progress-box .card.vue {
    background: linear-gradient(#41b883, #0e8869);
}
.progress-box .card.vue::after {
    background: linear-gradient(#41b883, #0e8869);
    content: 'Vue.js';
}
.progress-box .card.ng {
    background: linear-gradient(#f30c0c, #c3002f);
}
.progress-box .card.ng::after {
    background: linear-gradient(#f30c0c, #c3002f);
    content: 'Angular';
}
.progress-box .card.react {
    background: linear-gradient(#00d8ff, #0bb1ce);
}
.progress-box .card.react::after {
    background: linear-gradient(#00d8ff, #0bb1ce);
    content: 'React';
}
.progress-box .card.node {
    background: linear-gradient(#8ccf00, #80bd01);
}
.progress-box .card.node::after {
    background: linear-gradient(#8ccf00, #80bd01);
    color: #464545;
    content: 'Node.js';
}
.progress-box .card.node .card-mask {
    color: #464545;
}
.progress-box .card.php {
    background: linear-gradient(#8093d1, #7b8ec9);
}
.progress-box .card.php::after {
    background: linear-gradient(#8093d1, #7b8ec9);
    content: 'PHP';
}
.progress-box .card.python {
    background: linear-gradient(#fff, #f0f0f0);
}
.progress-box .card.python::after {
    background: linear-gradient(#fff, #f0f0f0);
    color: #000;
    content: 'Python';
}
.progress-box .card.python .card-mask {
    color: #000;
}
.progress-box .card img {
    transition: 0.2s;
    opacity: 1;
}
.progress-box .card .card-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    line-height: 100px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    transition: 0.4s;
    cursor: default;
}
.progress-box .card .card-mask p {
    padding-left: 5px;
    border-radius: 50%;
}
.progress-box .card .card-canvas {
    position: absolute;
}
.progress-box .card:hover img {
    opacity: 0;
}
.progress-box .card:hover .card-mask {
    opacity: 1;
}
.progress-box .card:hover::after {
    top: -50%;
    opacity: 1;
    transition: 0.5s;
}

.icp-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    width: 200px;
    height: 50px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    transition: 0.5s;
}
.icp-box:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
.icp-box:active {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}
.icp-box .icp-box-item {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #065741;
    cursor: pointer;
}
